package com.wf.vo;

import com.wf.domain.BookingInfo;
import com.wf.domain.HousesInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * 房屋详情列表
 * @author mpk
 * @since 2024/8/3 15:09:18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HouseDetailsVO extends HousesInfo {

    private static final long serialVersionUID = -8445671168399643418L;
    /**
     * 公寓名称
     */
    private String name;
    /**
     * 租金
     */
    private Double price;

    /**
     * 合同id
     */
    private Integer contractId;

    /**
     * 房屋id
     */
    private Integer houseId;

    /**
     * 地址
     */
    private String address;

    /**
     * 房租类型
     */
    private  String contractType;

    /**
     * 房源经纬度
     */

    private Map<String,Object> location;

    /**
     * 卧室设施
     */
    private List<String> roomFacility;

    /**
     * 能源设施
     */
    private List<String>  energyFacility;
    /**
     * 是否收藏
     */
    private Boolean isCollect;
    /**
     * 是否预约
     */
    private Boolean isBooking;
    /**
     * 预约信息
     */
    private BookingInfo bookingInfo;

    /**
     * 上次打扫时间
     */
    private LocalDateTime lastCleanDate;
}
